import java.io.FileNotFoundException;
import org.junit.Assert;

public class WordIndexTest2 {

	@SuppressWarnings("static-access")
	public void testWords2() {
//		WordIndex.main(null);
		String testInput = "bela";
		System.out.println();
		String sortedInput = WordIndex.sort(testInput);
		System.out.println(sortedInput);
		String returnedOutput = WordIndex.lookup(sortedInput);
		Assert.assertEquals("able", WordIndex.lookup(sortedInput));

	}

}
